﻿using System;
using Draco.OWF.RT;
using Draco.OWF.Activity;

namespace Draco.OWF.GenericActivities
{
    public class InvokerActivity : AbstractActivity
    {
        private const String Prop_InvokObjectType = "InvokObjectType";
        private const String Prop_InvokObjectRef = "InvokObjectRef";
        private const String Prop_InvokeMethod = "InvokeMethod";
        private String m_InvokObjectType;
        private String m_InvokObjectRef;
        private String m_InvokeMethod;

        public String InvokObjectType { get { return m_InvokObjectType; } set { m_InvokObjectType = value; } }
        public String InvokObjectRef { get { return m_InvokObjectRef; } set { m_InvokObjectRef = value; } }
        public String InvokeMethod { get { return m_InvokeMethod; } set { m_InvokeMethod = value; } }

        /// <summary>
        /// 
        /// </summary>
        public InvokerActivity()
        { 
        }

        public override void ExecuteTask(ITaskContext context)
        {
            //return new Task(this);
        }

        public override string ActivityType
        {
            get { return "Activity.InvokerActivity"; }
        }
    }

}
